package day03_inherit.TeachingManagmentSystem;

public class Test {
    public static void main(String[] args) {
        Teacher teacher=new Teacher("隔壁老王","30","JavaSE");
        teacher.teach();

        teacher.showMsg();

        Student student=new Student("大头儿子","20",90.5);
        student.exam();

        student.showMsg();
    }
}
